package bookstore;

public class Test2 {
	static public void  main(String[] ss) {
	    int h = 60;
	    int f = 120;
	    int chicken = h * 2 - f/2;
	    int rabbit = f/2 - h;

	    System.out.println(chicken);
	}
	static public void rabbitAndChicken(int h, int f) {

	    int chicken = h * 2 - f/2;
	    int rabbit = f/2 - h;

	    System.out.println(chicken);
	    System.out.println(rabbit);
	}
}
